package com.weifeng.learneasyexcel.readexceldemo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@HeadRowHeight(20)
@ColumnWidth(20)
public class Exceluntity {
    @ExcelProperty(index = 1)
    private String biaoti;

    @DateTimeFormat("yyyy-MM-dd")
    @ExcelProperty("日期")
    private Date riqi;


    @ExcelProperty("数字")
    private Double shuzi;







    public String getBiaoti() {
        return biaoti;
    }

    public void setBiaoti(String biaoti) {
        this.biaoti = biaoti;
    }

    public Date getRiqi() {
        return riqi;
    }

    public void setRiqi(Date riqi) {
        this.riqi = riqi;
    }

    public Double getShuzi() {
        return shuzi;
    }

    public void setShuzi(Double shuzi) {
        this.shuzi = shuzi;
    }
}
